﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="CombinationQuestion_Add_danx.aspx.cs" ValidateRequest="false"
    Inherits="sysadmin_QuestionManager_CombinationQuestion_Add_danx" %>

<%@ Register Assembly="FredCK.FCKeditorV2" Namespace="FredCK.FCKeditorV2" TagPrefix="FCKeditorV2" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>添加试题</title>
    <link href="../../css/1/css/css.css" type="text/css" rel="stylesheet" />
    <link href="../../js/Showdialog.js" type="text/javascript" />
    <script type="text/javascript">
            function AddComment()
            {
                //window.ffMain.LeftupFrame.MediaPlayer.Controls.Pause();
//                var cu = window.ffMain.LeftupFrame.MediaPlayer.Controls.currentPosition;
                var ul = "AddQuestionResourceMini.aspx";
                
                this.showModalDialog(ul,window,"dialogWidth: 450px; dialogHeight: 230px;status: no; help: no");
            }
    </script>

</head>
<body class="bodymain">
    <form id="form1" runat="server">
        <div>
            <table width="100%" border="0" cellpadding="0" cellspacing="0" class="tree-titbg_right">
                <tr>
                    <td class="tree-titbg_left">
                        <asp:Label ID="lab_TitleInfo" runat="server" Text="试题内容信息"></asp:Label></td>
                </tr>
            </table>
            <table width="100%" border="0" cellpadding="0" cellspacing="0" class="tableList3">
                <tr>
                    <th>
                        <asp:Label ID="lab_QuestionCount" runat="server" Text="试题内容"></asp:Label></th>
                    <td>
                        <table border="0" cellpadding="0" cellspacing="0" class="pad5px_up_don">
                            <tr>
                                <td>
                                    <FCKeditorV2:FCKeditor id="txtQuestionContent" runat ="server" Width="600px" Height="400px"></FCKeditorV2:FCKeditor>
                                </td>
                                <td align="left" valign="bottom">
                                    &nbsp;
                                    <input id="Button1" class="inputBotton2" onclick="AddComment(this)" type="button" value='<%=GetLanageValueByKey("btn_AddQuestionInfo_AddMediaFile", PowerCreator.LMS.Language.LanagetItemType.Page) %>' />
                                </td>
                            </tr>
                        </table>
                    </td>
                </tr>
                <tr>
                    <th valign="top">
                        <asp:Label ID="lab_QuestionOption" runat="server" Text="试题选项"></asp:Label></th>
                    <td>
                        <table border="0" cellpadding="0" cellspacing="0" width="100%">
                            <tr>
                                <td>
                                    A、<asp:TextBox ID="txt_OptionA" runat="server" Width="583px"></asp:TextBox>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    B、<asp:TextBox ID="txt_OptionB" runat="server" Width="583px"></asp:TextBox>
                                </td>
                            </tr>
                            <tr>
                                <td >
                                    C、<asp:TextBox ID="txt_OptionC" runat="server" Width="583px"></asp:TextBox>
                                    <asp:Button ID="btn_AddOptionC" runat="server" CssClass="inputBotton2" OnClick="btn_AddOptionC_Click"
                                        Text=" 添加选项 " />
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <asp:Panel ID="Pnl_D" runat="server" Visible="False">
                                        D、<asp:TextBox ID="txt_OptionD" runat="server" Width="583px"></asp:TextBox>
                                        <asp:Button ID="btn_AddOptionD" runat="server" CssClass="inputBotton2" OnClick="btn_AddOptionD_Click"
                                            Text=" 添加选项 " />
                                    </asp:Panel>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <asp:Panel ID="Pnl_E" runat="server" Visible="False">
                                        E、<asp:TextBox ID="txt_OptionE" runat="server" Width="583px"></asp:TextBox>
                                        <asp:Button ID="btn_AddOptionE" runat="server" CssClass="inputBotton2" OnClick="btn_AddOptionE_Click"
                                            Text=" 添加选项 " />
                                    </asp:Panel>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <asp:Panel ID="Pnl_F" runat="server" Visible="False">
                                        F、<asp:TextBox ID="txt_OptionF" runat="server" Width="583px"></asp:TextBox>
                                    </asp:Panel>
                                </td>
                            </tr>
                        </table>
                    </td>
                </tr>
                <tr>
                    <th>
                        <asp:Label ID="lab_RightAnswer" runat="server" Text="正确答案"></asp:Label></th>
                    <td >
                        <asp:RadioButtonList ID="rbtn_answer" runat="server" CssClass="noneborder" RepeatDirection="Horizontal">
                        </asp:RadioButtonList></td>
                </tr>
                <tr>
                    <td class="tree-bottom-bg"  colspan="2">
                        <asp:Button ID="btn_Save" runat="server" CssClass="inputBotton2" OnClick="btnSave_Click"
                            Text=" 保 存 " />
                    </td>
                </tr>
            </table>
            <br />
        </div>
    </form>
</body>
</html>
